package com.entity;

public class Clients {
    private int cId;
    private String cName;
    private String cPassword;
    private boolean cVip;
    private double cBalance;

    public Clients() {
    }

    public Clients(int cId, String cName, String cPassword, boolean cVip, double cBalance) {
        this.cId = cId;
        this.cName = cName;
        this.cPassword = cPassword;
        this.cVip = cVip;
        this.cBalance = cBalance;
    }

    public Clients(int cId, String cName, String cPassword) {
        this.cId = cId;
        this.cName = cName;
        this.cPassword = cPassword;
    }

    public int getcId() {
        return cId;
    }

    public void setcId(int cId) {
        this.cId = cId;
    }

    public String getcName() {
        return cName;
    }

    public void setcName(String cName) {
        this.cName = cName;
    }


    public String getcPassword() {
        return cPassword;
    }

    public void setcPassword(String cPassword) {
        this.cPassword = cPassword;
    }

    public boolean iscVip() {
        return cVip;
    }

    public void setcVip(boolean cVip) {
        this.cVip = cVip;
    }

    public double getcBalance() {
        return cBalance;
    }

    public void setcBalance(double cBalance) {
        this.cBalance = cBalance;
    }

    @Override
    public String toString(){
        return getcId() +
                "\t\t\t" + getcName() +
                "\t\t\t" + getcPassword() +
                "\t\t\t" + iscVip() +
                "\t\t\t" + getcBalance();
    }
}
